package com.pojo;


import java.util.List;

public class Admin {

  private long id;
  private String account;
  private String password;
  private String name;
  private String email;
  private String createTime;
  private long isdelete;

  private List<Role> roles;

  public List<Role> getRoles() {
    return roles;
  }

  public void setRoles(List<Role> roles) {
    this.roles = roles;
  }

  public Admin() {
  }


  public Admin(long id, String account, String password, String name, String email, String createTime, long isdelete) {
    this.id = id;
    this.account = account;
    this.password = password;
    this.name = name;
    this.email = email;
    this.createTime = createTime;
    this.isdelete = isdelete;
  }

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }

  public String getAccount() {
    return account;
  }

  public void setAccount(String account) {
    this.account = account;
  }

  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getEmail() {
    return email;
  }

  public void setEmail(String email) {
    this.email = email;
  }

  public String getCreateTime() {
    return createTime;
  }

  public void setCreateTime(String createTime) {
    this.createTime = createTime;
  }

  public long getIsdelete() {
    return isdelete;
  }

  public void setIsdelete(long isdelete) {
    this.isdelete = isdelete;
  }
}
